I'm not sure if it's new in Qt 5.9, but it's trivial (I think) to fix and harmless. When building files like gzread and gzwrite, MacOS would complain that we were missing declarations to extremely well known system functions (write, close, read, seek, ...) Those live in <unistd.h>, so we nudge the Makefile generator to trigger its inclusion for MacOS and Linux.
INCLUDEPATH += zlib
macx|linux {
- DEFINES += HAVE_NANOSLEEP HAVE_LIBUSB HAVE_GLOB
+ DEFINES += HAVE_NANOSLEEP HAVE_LIBUSB HAVE_GLOB HAVE_UNISTD_H
SOURCES += gbser_posix.cc
JEEPS += jeeps/gpslibusb.cc
INCLUDEPATH += jeeps